const Com = ()=>{
  const [a, setA] = useState(1)
  useEffect(()=> { setA(a+1) }, [a])
  return <div>{a}</div>
  } 
  